#include"mystdio.h"

int main()
{
  const char * filepath = "data.txt";
  myFILE* file = my_fopen(filepath,"a");
  printf("fd:%d\n",file->fileno);
  const char* writeIn = "my name is lintianci,OK???\n";
  my_fwrite(file,writeIn,strlen(writeIn));
  my_fflush(file);
  my_fclose(file);
}
